home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / usr / share / initramfs-tools / hooks / dmsetup < prev    next >
Text File  |  2008-10-20  |  312b  |  25 lines

  1. #!/bin/sh -e
  2. # initramfs hook for dmsetup
  3.  
  4. PREREQ="udev"
  5.  
  6. # Output pre-requisites
  7. prereqs()
  8. {
  9.     echo "$PREREQ"
  10. }
  11.  
  12. case "$1" in
  13.     prereqs)
  14.     prereqs
  15.     exit 0
  16.     ;;
  17. esac
  18.  
  19.  
  20. . /usr/share/initramfs-tools/hook-functions
  21.  
  22. copy_exec /sbin/dmsetup /sbin
  23.  
  24. cp -p /etc/udev/rules.d/65-dmsetup.rules ${DESTDIR}/etc/udev/rules.d
  25.